package org.lds.hotkey.client.common;

import org.lds.hotkey.common.enums.ErrCodeEnum;

public enum ClientErrorEnum implements ErrCodeEnum {

    APP_INSTANCE_REGISTER_FAIL("APP_INSTANCE_REGISTER_FAIL", "app实例注册失败"),
    APP_ID_NOT_EXIST("APP_ID_NOT_EXIST", "appId不存在"),

    ;

    private String code;
    private String message;

    ClientErrorEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getErrCode() {
        return code;
    }

    @Override
    public String getErrMsg() {
        return message;
    }

}
